  .code-block-wrapper {
      position: relative;
      margin-bottom: 1rem;
  }

  /* 可折叠代码块样式 */
  .code-block-wrapper.collapsible {
      border: 1px solid var(--vp-c-divider);
      border-radius: 8px;
      overflow: hidden;
  }

  .code-block-header {
      padding: 0.75rem 1rem;
      background-color: var(--vp-c-bg-soft);
      cursor: pointer;
      user-select: none;
      display: flex;
      align-items: center;
      font-weight: 600;
      color: var(--vp-c-text-1);
  }

  .code-block-header:hover {
      background-color: var(--vp-c-bg-mute);
  }

  .toggle-icon {
      display: inline-block;
      margin-right: 0.5rem;
      transition: transform 0.2s;
  }

  .code-block-content {
      transition: max-height 0.3s ease-out;
  }

  .print-button {

      border: none;
      transition: background-color 0.2s, opacity 0.2s;
      transform: translateY(calc(-100% - 26px));
      position: absolute;
      right: 8px;
      z-index: 10;

      opacity: 0;
  }

  .code-block-wrapper:hover .print-button {
      opacity: 1 !important;
  }

  .print-button button {
      margin-left: 8px;
      font-size: 0.85rem;
      padding: 0.25rem 0.75rem;
      border-radius: 4px;
      background-color: var(--vp-c-brand);
      color: white;
      cursor: pointer;
  }


  .code-execution-result {
      margin-top: 1rem;
      padding: 1rem;
      background-color: var(--vp-c-bg-soft);
      border-radius: 4px;
      font-family: monospace;
      white-space: pre-wrap;
      overflow-x: auto;
      border-left: 4px solid var(--vp-c-brand);
  }

  .result-header {
      font-weight: bold;
      margin-bottom: 0.5rem;
      color: var(--vp-c-text-1);
  }

  .loading-indicator {
      color: #FFA500;
      font-style: italic;
  }

  .result-start {
      color: #2196F3;
      font-weight: bold;
  }

  .result-stdout {
      color: var(--vp-c-text-1);
  }

  .result-stderr {
      color: #f44336;
  }

  .result-exit {
      margin-top: 0.5rem;
      font-style: italic;
  }

  .result-error {
      color: #f44336;
      font-weight: bold;
  }

  .result-connection-error {
      color: #f44336;
      font-weight: bold;
      margin-top: 0.5rem;
  }

  .mermaid-container {
      object {
          width: 50%;
          margin: auto;
      }
  }